//
//  NSObject+zxh.h
//  LuxuryCarUser55like
//
//  Created by 55like on 23/08/2017.
//  Copyright © 2017 55like lj. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (add)
//json 相关


-(id)getSafeObjWithkey:(NSString*)key;
-(void)setSafeObj:(id)obj forKey:(NSString*)key;




#pragma mark  - 运行时添加属性


/**
 动态为 对象 添加属性
 
 @param someThing 所添加对象
 @param key 关键字
 */
- (void)setAddValue:(id)someThing forKey:(NSString *)key;


/**
 获取为运行时添加的对象
 
 @param key 关键字
 @return 获取对象
 */
- (id)getAddValueForKey:(NSString *)key;


/**
 移除对象
 
 @param key 关键字
 */
- (void)removeAddValueForkey:(NSString *)key;



-(NSString*)jsonStrSYS;

@end
